package cn.huobi.fallback;

import cn.huobi.user.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class GetUserByIdFallback {

    public static User getUserByIdFallback(@PathVariable("id") Long id, Throwable throwable){
        return new User(-1L, "熔断", "已经断了，不来了！！！");
    }
}
